Skip to content

Conversation

@DanielGMorenaFhecor
Copy link
Collaborator

Here is my implementation of the Chapter 8.3-Torsion from the new Eurocode 2:2023.

mortenengen and others added 29 commits December 13, 2022 21:01
Co-authored-by: talledodiego <38036285+talledodiego@users.noreply.github.com>
@DanielGMorenaFhecor DanielGMorenaFhecor added the enhancement New feature or request label Aug 2, 2024
@DanielGMorenaFhecor DanielGMorenaFhecor added the EC2 2023 Eurocode 2 (2023) label Aug 2, 2024
@DanielGMorenaFhecor DanielGMorenaFhecor self-assigned this Aug 2, 2024
@DanielGMorenaFhecor DanielGMorenaFhecor linked an issue Aug 5, 2024 that may be closed by this pull request
1 task
@mortenengen mortenengen removed this from the EC2 2023: Ultimate limit state milestone Aug 5, 2024
@mortenengen mortenengen changed the base branch from dev to dev-ec2-2023 October 10, 2024 19:30
@mortenengen mortenengen changed the base branch from dev-ec2-2023 to dev October 17, 2024 19:24
@mortenengen mortenengen changed the base branch from dev to dev-ec2-2023 October 17, 2024 19:24
Copy link
Member

@mortenengen mortenengen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the good contribution 👍

I have merged dev and provided some minor fixes to the docstrings.

There are however a couple of lines that are not covered by tests. Please add tests so that we reach 100 % coverage for the added lines.

Copy link
Collaborator

@talledodiego talledodiego left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!
Just a couple of minor comments.

s (float): Spacing between the shear reinforcement in mm.
theta (float): Cotangent of the angle of compression field with respect
to the longitudinal axis.
cot_theta_min (float): Limit value for the cotangent.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add "defined in 8.2.3(4)"?

Comment on lines +97 to +98
Asl: List[float],
fyd: List[float],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we support only a plain a list or anything that is array-like? I am good with both, I am just thinking about similar implementations in otherparts of the code. Probably we should seek some uniformity?

Comment on lines +140 to +142
n = len(Asl)
for i in range(n):
sum_r += Asl[i] * fyd[i]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I find it more pythonic (but maybe it is simply my preference):

for a, f in zip(Asl, fyd):
    sum_r += a * f

EN1992-1-1:2023 Eq. (8.84), (8.85).

Args:
nu (float): Coefficient as determined by the formulae in Annex G.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add: 'a value of nu = 0.6 may be used when cot_theta = 1.0'?


Args:
tau_t_rd_sw (float): Torsional capacity governed by yielding of the
shear reinforcement in MPa.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add "computed by eq. (8.82)"?

tau_t_rd_sw (float): Torsional capacity governed by yielding of the
shear reinforcement in MPa.
tau_t_rd_sl (float): Torsional capacity governed by yielding of the
longitudinal reinforcement in MPa.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add "computed by eq. (8.83)"?

tau_t_rd_sl (float): Torsional capacity governed by yielding of the
longitudinal reinforcement in MPa.
tau_t_rd_max (float): Torsional capacity governed by crushing of the
compression field in concrete in MPa.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add "computed by eq. (8.84)"?

@talledodiego talledodiego moved this from Compliance review to Changes requested in EC2 2023 PR tracker Sep 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

EC2 2023 Eurocode 2 (2023) enhancement New feature or request

Projects

Status: Changes requested
Status: Under review 👀

Development

Successfully merging this pull request may close these issues.

EC2 2023: Torsion and combined actions

3 participants